package top.buyibuyi.course.dao;

import org.apache.ibatis.annotations.*;
import org.apache.ibatis.mapping.FetchType;
import org.springframework.stereotype.Service;
import top.buyibuyi.course.pojo.Classroom;
import top.buyibuyi.course.pojo.Crstate;

import java.util.List;

@Mapper
public interface SelectClassroomDao {


    @Select("select * from classroom where fnum = 0")
    List<Classroom> selectClassromAll();

    @Select("select * from classroom where fnum = #{fnum}")
    List<Classroom> selectclassrooms(int id);

}
